package cn.lingyangwl.agile.msg.push.api.model.rqrs;

import cn.lingyangwl.agile.model.constants.*;
import cn.lingyangwl.agile.msg.push.api.model.content.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * 消息推送参数
 * @author shenguangyang
 */
@ToString
@Getter
@Setter
@Accessors(chain = true)
public class MsgPushParam {
    private Long historyId;

    /**
     * 消息内容json格式
     */
    private MsgParam msgParam;

    /**
     * 渠道类型
     */
    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String channelType;
}
